<%= form_for @page_fragment, :as => :page_fragment, :url => url_for(:action => :update, :id => @page_fragment.id) do |f| %>
    <fieldset>
      <legend>
        <%= @page_fragment.short_name %>
      </legend>

      <div>
        <%= f.label :content %>
        <br>
        <%= f.text_area :content %>
      </div>

      <%= f.submit "Save" %>
      <%= link_to "Cancel", url_for(:action => :index) %>
    </fieldset>
<% end %>